<?php
class ProductCategoryMappingModel extends RelationModel{
	public $_link = array(
		
		'Product'=> array(
				'mapping_type'=>HAS_MANY, 
				'class_name'=>'Product',
				'foreign_key'=>'product_id',
				'mapping_name'=>'subCategories', 
				'mapping_order'=>'order_key desc', 
				'as_fields'=>'product_name,description',
		),

	);
}

?>